package com.niu.crm.service;

import java.util.List;

import com.niu.crm.model.Exam;
import com.niu.crm.model.User;

public interface ExamService {
	
	Exam load(Long id);
	
	Exam loadByName(String name);
	
    void delete(User user, Long id);

    List<Exam> loadAll();
    
    void add(Exam exam);
    
    void update(Exam exam);
    
}
